package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsPaymentTariffItem", catalog="Id")
public class TccLogisticsPaymentTariffItem extends BaseEntity<TccLogisticsPaymentTariffItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="PayAmount", nameJava="payAmount", typeDataBase="decimal")
	private BigDecimal payAmount;
	@YsField(nameDataBase="LogOrderlDesDz", nameJava="logOrderlDesDz", typeDataBase="varchar")
	private String logOrderlDesDz;
	@YsField(nameDataBase="LogisticsComprehensiveId", nameJava="logisticsComprehensiveId", typeDataBase="bigint")
	private Long logisticsComprehensiveId;
	@YsField(nameDataBase="LogInvoiceNo", nameJava="logInvoiceNo", typeDataBase="varchar")
	private String logInvoiceNo;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsPaymentTariffItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TccLogisticsPaymentTariffItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public BigDecimal getPayAmount() {
		return payAmount;
	}
	public TccLogisticsPaymentTariffItem setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
		return this;
	}
	public String getLogOrderlDesDz() {
		return logOrderlDesDz;
	}
	public TccLogisticsPaymentTariffItem setLogOrderlDesDz(String logOrderlDesDz) {
		this.logOrderlDesDz = logOrderlDesDz;
		return this;
	}
	public Long getLogisticsComprehensiveId() {
		return logisticsComprehensiveId;
	}
	public TccLogisticsPaymentTariffItem setLogisticsComprehensiveId(Long logisticsComprehensiveId) {
		this.logisticsComprehensiveId = logisticsComprehensiveId;
		return this;
	}
	public String getLogInvoiceNo() {
		return logInvoiceNo;
	}
	public TccLogisticsPaymentTariffItem setLogInvoiceNo(String logInvoiceNo) {
		this.logInvoiceNo = logInvoiceNo;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsPaymentTariffItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsPaymentTariffItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsPaymentTariffItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsPaymentTariffItem tccLogisticsPaymentTariffItem(
		String pbid,
		BigDecimal payAmount,
		String logOrderlDesDz,
		Long logisticsComprehensiveId,
		String logInvoiceNo,
		Integer status
			) {
		TccLogisticsPaymentTariffItem entity = new TccLogisticsPaymentTariffItem();
		entity.setPbid(pbid);
		entity.setPayAmount(payAmount);
		entity.setLogOrderlDesDz(logOrderlDesDz);
		entity.setLogisticsComprehensiveId(logisticsComprehensiveId);
		entity.setLogInvoiceNo(logInvoiceNo);
		entity.setStatus(status);
		return entity;
	}
}